package com.klangner.game.board;

/**
 * Interface to board data
 */
public interface IBoard{

  /** no stone */
  public static final int NO_STONE = 0;
  /** Black stone */
  public static final int BLACK_STONE = 1;
  /** White stone */
  public static final int WHITE_STONE = -1;

  /** 
   * @return Board size 
   */
  public int getSize();
  
  /** 
   * Get stone color at position 
   */
  public int getStone(int x, int y);

  /**
   * Make board copy
   */
  public IBoard makeCopy();
  
  /**
   * Make move
   */
  public void setStone(int x, int y, int color);

}